export interface IUserLogin {
  username?: string;
  password?: string;
  code?: number | string;
  uuid?: string;
}

export interface IUserInfo {
  roles: string[];
  user: {
    username: string;
    nickName: string;
    phone: string;
  }
}

export interface IAuthRes {
  token: string;
  user: IUserInfo;
}

export interface ICodeResponse {
  uuid: string;
  img: string;
}
